import random
import readJSON

data = readJSON.readJson("祖安话合集.json")


# 随机调用各data中的句子
def randomSentence(content):
    while True:
        random.shuffle(content)
        for j in content:
            yield j


if __name__ == "__main__":
    print(next(randomSentence(data['sentence'])))
